import Vue from 'vue'
import App from './App.vue'
import "@/styles/reset.css"
import 'vant/lib/index.css';

import { Field, Icon, Tab, Dialog, Tabs, PullRefresh, Lazyload, Toast, List, Cell, CellGroup, Stepper, Button, Swipe, SwipeItem, Tabbar, TabbarItem, NavBar, Switch } from 'vant';

Vue.use(PullRefresh)
  .use(Toast)
  .use(List)
  .use(Cell)
  .use(CellGroup)
  .use(Stepper)
  .use(Button)
  .use(Swipe)
  .use(SwipeItem)
  .use(TabbarItem)
  .use(Tabbar)
  .use(NavBar)
  .use(Tab)
  .use(Tabs)
  .use(Icon)
  .use(Field)
  .use(Switch)
  .use(Dialog)
  .use(Lazyload, {
    lazyComponent: true,
  });

Vue.config.productionTip = false

import router from './router/index'

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
